{#{% extends 'Base/main.content.lists.div.html.twig' %}#}
{#{% import 'Base/list_item.twig' as listItem %}#}
{% extends 'Back/Sano/list.creator.html.twig' %}
{% import 'Back/Sano/list.item.twig' as listItem %}
{#默认不能删除和新增#}
{#{% block addBtn %}{% endblock %}#}
{#{% block delBtn %}{% endblock %}#}
{% block tableHead %}
    <tr>
        <th align="" width="5%">选择</th>
        <th align="" width="">{{config.sn.label}}</th>
        <th align="" width="">{{config.createAt.label}}</th>
        <th align="" width="">{{config.payTotal.label}}</th>
        <th align="" width="">{{config.payReal.label}}</th>
        <th align="" width="">{{config.payAt.label}}</th>
        <th align="" width="">{{config.payType.label}}</th>
        <th align="" width="">{{config.paCode.label}}</th>
        <th align="" width="">{{config.sales.label}}</th>
        <th align="" width="">{{config.settleAt.label}}</th>
        <th align="" width="">{{config.settleMessage.label}}</th>
        <th align="" width="">{{config.status.label}}</th>
        <th align="" width="">{{config.info.label}}</th>
        <th align="" width="">{{config.user.label}}</th>
        <th align="center" width="8%">操作</th>
    </tr>
{% endblock %}
{% block tableList %}
    {% for Entity in lists %}
        <tr>
            <td align='' width=''>
                <span class="checkall"><input lay-skin="primary" type="checkbox" name="ids[]" value="{{ Entity.id }}"/></span>
            </td>
            <td align='' width='' id='sn_{{ Entity.id }}'>
                {{ listItem.text('sn',Entity.sn,Entity.id) }}
            </td>
            <td align='' width='' id='createAt_{{ Entity.id }}'>
                {{ listItem.day('createAt',Entity.createAt,Entity.id) }}
            </td>
            <td align='' width='' id='payTotal_{{ Entity.id }}'>
                {{ listItem.text('payTotal',Entity.payTotal,Entity.id) }}
            </td>
            <td align='' width='' id='payReal_{{ Entity.id }}'>
                {{ listItem.text('payReal',Entity.payReal,Entity.id) }}
            </td>
            <td align='' width='' id='payAt_{{ Entity.id }}'>
                {{ listItem.day('payAt',Entity.payAt,Entity.id) }}
            </td>
            <td align='' width='' id='payType_{{ Entity.id }}'>
                {{ listItem.text('payType',Entity.payType,Entity.id) }}
            </td>
            <td align='' width='' id='paCode_{{ Entity.id }}'>
                {{ listItem.text('paCode',Entity.paCode,Entity.id) }}
            </td>
            <td align='' width='' id='sales_{{ Entity.id }}'>
                {{ listItem.text('sales',Entity.sales,Entity.id) }}
            </td>
            <td align='' width='' id='settleAt_{{ Entity.id }}'>
                {{ listItem.day('settleAt',Entity.settleAt,Entity.id) }}
            </td>
            <td align='' width='' id='settleMessage_{{ Entity.id }}'>
                {{ listItem.text('settleMessage',Entity.settleMessage,Entity.id) }}
            </td>
            <td align='' width='' id='status_{{ Entity.id }}'>
                {{ listItem.text('status',Entity.status,Entity.id) }}
            </td>
            <td align='' width='' id='info_{{ Entity.id }}'>
                {{ listItem.text('info',Entity.info,Entity.id) }}
            </td>
            <td align='' width='' id='user_{{ Entity.id }}'>
                {{ listItem.text('user',Entity.user,Entity.id) }}
            </td>
            <td align='' width=''>
                {{ listItem.edit('Orders','',Entity.id) }}
            </td>
        </tr>
    {% endfor %}
{% endblock %}
{% block script %}
{% endblock %}

